﻿using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;

namespace CenterDateAchieve.Test
{
    [TestFixture]
    public class Class2
    {
        [Test]
        public void test()
        {
            
            //B b1 = new B();
            //b1.aa = "1321321";
            //A a1 = b1;

            //a1.aa = "fadsfa";
            //b1.aa = "fadsfa_123132";

            //Console.WriteLine(string.Format("a1:{0}", a1.Get()));
            //Console.WriteLine(string.Format("aa:{0}", b1.Get()));
        }
        [Test]
        public void tee()
        {
            object i = 7;
            object j = 7;
            if (object.ReferenceEquals(i, j))
            {
                Console.WriteLine("fads1111");
            }
            else
            {
                Console.WriteLine("fads");
            }
            
        }
    }
    public interface IA
    {
        string aa { get; set; }

        void  bb();
    }

    public abstract class A
    {
        public string aa { get; set;}

        public abstract void bb();

        public virtual void Get()
        { }
       
    }
    public abstract class B : A,IA
    {
        

    }
}
